package com.weibo.business.servlet;

import java.io.IOException;
import java.util.List;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;

import com.weibo.common.ValidateUserServlet;

public class MyweiboServlet extends ValidateUserServlet{
	private static Logger logger = Logger.getLogger(MyweiboServlet.class);
	@Override
	public void doService(HttpServletRequest request,HttpServletResponse response) {
		// TODO Auto-generated method stub
			/*if(list_menu.size()>0){
				
			}*/
			request.setAttribute("currentmenu", "我的微博世界");
			try {
				request.getRequestDispatcher("/WEB-INF/app/myweibo.jsp").forward(request, response);
			} catch (ServletException e) {
				// TODO Auto-generated catch block
				logger.error(e);
			} catch (IOException e) {
				// TODO Auto-generated catch block
				logger.error(e);
			}
		}

}
